#include <stdio.h>
#include <gtk/gtk.h>
#include <gtk/gtkglinit.h>
#include <omp.h>
#include "MainWindow.h"


int main( int argc, char** argv )
{
    printf( "Looking for processors...\n" );
    int numProcs = omp_get_num_procs();
    printf( "%d processors were found on this machine\n", numProcs );
    printf( "Setting the number of threads to %d...\n", 4 * numProcs );
    omp_set_num_threads( 4 * numProcs );
    
    gtk_init( &argc, &argv );
    gtk_gl_init( &argc, &argv );
    
    MainWindow window;
    window.show();
    
    return 0;
}
